POV-Ray : Newsgroups : povray.text.scene-files : find edges postprocess using functions : Re: find edges postprocess using functions Server Time
1 Jul 2024 01:32:36 EDT (-0400)
  Re: find edges postprocess using functions  
From: Simon Adameit
Date: 25 Jul 2002 05:38:50
Message: <3d3fc72a@news.povray.org>
>   #declare Ofun_Norm=
>   function{
>     max
>     (
>     select(abs(Ifun_green_blur(x,y,z)-Ifun(x,y,z).green)-Di_Dist,0,1),
>     select(abs(Ifun_blue_blur(x,y,z)-Ifun(x,y,z).blue)-Di_Dist,0,1)
>     )
>   }
>

This has to be:

#declare Ofun_Norm=
  function{
    max
    (
    select(abs(Ifun_green_blur(x,y,z)-Ifun(x,y,z).green)-Di_Norm,0,1),
    select(abs(Ifun_blue_blur(x,y,z)-Ifun(x,y,z).blue)-Di_Norm,0,1)
    )
  }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.